<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--相等路径-->
<!--alt当图片不能加载时显示,title鼠标悬停时显示的文本-->
<img src="2.jpg" alt="这是我家哥哥">
<img src="../1.jpg" title="一起打篮球吗" width="200px" height="200px">
<img src="img/3.jpg">
<!--绝对路径-->
<img src="https://img-nos.yiyouliao.com/alph/4f1694920fcfed18f826c0faebd2e493.jpg?yiyouliao_channel=msn_image">
</body>
</html>